package com.liner.homework.second;

public class CarTest {
    public static void main(String[] args) {
        Car car1 = new Car("帕拉梅拉", "红色", 23,5,6000);
        car1.info();
        car1.start();
        car1.run();
        car1.stop();
        Car car2 = new Car("比亚迪", "粉色", 12,7,1000);
        car2.info();
        car2.start();
        car2.run();
        car2.stop();


    }
}
